/* pages/preview/preview.wxss */
@import './css/iconfont.scss';
@import './css/iconTriangle.scss';

page {
	height: 100vh;
	display: flex;
	flex-direction: column;
}

.header {
	width: 100%;
	height: 420rpx;
}

.main {
	background: linear-gradient(to bottom, #fcc139, #F2F2F2 20%);
	width: 100%;
	flex: 1;
}

.main .main_list {
	width: 93%;
	margin: 0 auto;
	border-radius: 10rpx;
	box-shadow: 0px 0px 2px 2px rgb(214, 214, 214);
	background-color: #fff;
	padding: 20rpx;
	box-sizing: border-box;
	margin-bottom: 25rpx;
}
.auth .icon-lanVrenzheng{
	width: 135rpx;
	background: linear-gradient(to right, #666666, #333333);
	color: #F3AB00;
	border-radius: 20rpx;
	font-size: 28rpx;
	padding: 3rpx 0;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
}
.auth .icon-lanVrenzheng text{
	font-size: 20rpx;
}
.auth .camp_name{
	margin: 10rpx 0;
	font-size: 30rpx;
}
.auth .camp_type{
	background-color: #F3AB00;
	width: 110rpx;
	font-size: 20rpx;
	color: #fff;
	text-align: center;
	border-radius: 5rpx;
	padding: 3rpx 0;
	box-sizing: border-box;
}
.auth .label .iconfont{
	font-size: 24rpx;
	margin-top: 10rpx;
	color: #F3AB00;
	display: flex;
	align-items: center;
}
.auth .label .iconfont text{
	margin-left: 8rpx;
	font-size: 20rpx;
	color: #999;
}
.main>.main_list:first-child {
	margin-top: -40rpx;
}

.main_list .pattern {
	margin-top: 20rpx;
	margin-left: -15rpx;
	display: flex;
	position: relative;
}

.main_list .pattern .tip {
	font-size: 30rpx;
	position: absolute;
	top: -10rpx;
	left: 25rpx;
}

.camp_info {
	font-size: 26rpx;
	text-indent: 2em;
	overflow: hidden;
	text-overflow: ellipsis;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	display: -webkit-box;
}
.showInfo{
	// height: auto;
	overflow: auto;
	display: block;
}
.show_more{
	margin-top: 15rpx;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 24rpx;
	color: #F3AB00;
}
.show_more .icon-daosanjiao ,.icon-daosanjiao-copy{
	font-size: 18rpx;
	margin-left: 5rpx;
}
.plan{
	background-color: #F5F5F5;
	margin-bottom: 25rpx;
	border-radius: 5rpx;
	padding: 15rpx 20rpx;
	box-sizing: border-box;
}
.plan_label{
	display: flex;
	flex-wrap: wrap;
}
.plan_label view{
	padding: 5rpx 20rpx;
	font-size: 22rpx;
	background-color: #F3AB00;
	border-radius: 8rpx;
	margin-right: 15rpx;
	color: #fff;
	box-sizing: border-box;
}
.plan_price{
	display: flex;
	font-size: 28rpx;
	align-items: center;
}
.plan_price>view:first-child text{
	font-size: 36rpx;
	color: #f36804;
}
.plan_price .icon-huiyuan{
	background-color: #1F1F1F;
	color: #F3AB00;
	font-size: 16rpx;
	display: flex;
	align-items: center;
	height: 30rpx;
	padding: 5rpx 15rpx;
	box-sizing: border-box;
	border-radius:20rpx;
	margin-top: 8rpx;
	margin-left: 15rpx;
}
.plan .original_price{
	color: #7D7D7D;
	font-size: 20rpx;
	text-decoration: line-through;
}
.facilities{
	font-size: 26rpx;
	margin-bottom: 25rpx;
}
.facilities_list{
	// border: 1rpx solid red;
	height: 120rpx;
	overflow: hidden;
}
.showF{
  height: 0px;
  overflow: hidden;
}
.list , .facilities_list{
	display: flex;
	flex-wrap: wrap;
	// justify-content: space-between;
}
.list .list_item ,.facilities_list .list_item{
	width: 20%;
	text-align: center;
	// border: 1rpx solid red;
	margin-bottom: 25rpx;

}
.list_item .icon {
	width: 70rpx;
	height: 70rpx;
	// border: 1rpx solid #5e3113;
	border-radius: 50%;
	margin: 0 auto;
	margin-bottom: 8rpx;
	line-height: 70rpx;
}
.list .list_item_name, .facilities_list .list_item_name{
	font-size: 22rpx;
	color: #5e3113;
}
.list_item .icon .iconfont{
	font-size: 38rpx;
	color: #5e3113;
}

.reference{
	display: flex;
	align-items: center;
	.reference_info{
		margin-left: 20rpx;
		>view:first-child{
			font-size: 30rpx;
		}
		>view:last-child{
			font-size: 24rpx;
			color: #999;
			margin-top: 5rpx;
		}
	}
}

.foot{
	width: 100%;
	padding: 20rpx 5%;
	box-sizing: border-box;
	position: sticky;
	bottom: 0;
	left: 5%;
	display: flex;
	justify-content: space-between;
	padding-bottom: 20rpx;
	box-sizing: border-box;
	background-color: #fff;
}
.up,.next{
	height: 70rpx;
	text-align: center;
	line-height: 70rpx;
	font-size: 30rpx;
	border-radius: 50rpx;
	width: 48%;
}
.up{
	border: 1rpx solid #F3AB00;
	color: #F3AB00;
}.next{
	background-color: #F3AB00;
	color: #fff;
}

.icon-huidingbu{
	position: fixed;
	top: 50%;
	right: 28rpx;
	background-color: #b4b4b4;
	border-radius: 50%;
	font-size: 24rpx;
	width: 40rpx;
	height: 40rpx;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #fff;
}

.detail-container {
	position: fixed;
	top: 0;
	z-index: 999;
	height: 100%;
	width: 100%;
	background-color: rgb(0, 0, 0, 0.3);
	display: flex;
	justify-content: center;
	align-items: center;
	.modal{
		width: 80%;
		height: 260rpx;
		border-radius: 20rpx;
		background-color: #fff;
		>view:first-child{
			text-align: center;
			height: 190rpx;
			line-height: 175rpx;
		}
		>view:last-child{
			display: flex;
			justify-content: space-between;
			align-items: center;
			border-top: 1rpx solid rgba($color: #999, $alpha: 0.2);
			height: 70rpx;
			>view{
				width: 50%;
				display: flex;				
				justify-content: center;
				align-items: center;
				font-size: 28rpx;
				height: 100%;
			}
			>view:first-child{
				color: #333;
			}
			>view:last-child{
				border-left: 1rpx solid rgba($color: #999, $alpha: 0.2);
				color: #0086FE;
			}
		}
	}
}